//
//  AccountViewController.h
//  iMoney
//
//  Created by Sean McGrail on 1/29/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Expense.h"
#import "MoneyState.h"

@interface QuickViewController : UIViewController<UITextFieldDelegate, UITextViewDelegate> {

	IBOutlet UITextField* name;
    IBOutlet UITextField* type;
	IBOutlet UITextField *amount;
	IBOutlet UITextField* date;
	IBOutlet UITextView* note;
	

	IBOutlet UITableView* table;
	
	NSInteger selectedIndex;	
}

@property (nonatomic, retain) UITextField* name;
@property (nonatomic, retain) UITextField* type;
@property (nonatomic, retain) UITextField* amount;
@property (nonatomic, retain) UITextField* date;
@property (nonatomic, retain) UITextView* note;
@property (nonatomic, retain) UITableView* table;
@property (assign, nonatomic) NSInteger selectedIndex;

- (IBAction) addPressed;
- (IBAction)typePressed;
- (IBAction)expensePressed;

@end
